package com.ruoyi.project.mapper;

import com.ruoyi.project.ins.domain.InsMessage;
import com.ruoyi.project.ins.domain.InsSendMessage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface InsMessageMapper {
    List<InsMessage> selectInsMessageList(InsMessage insPromotion);

    int insertInsMessage(InsMessage insPromotion);

    int updateInsMessage(InsMessage insPromotion);

    InsMessage selectAccountById(Long id);

    int deleteByIds(Long[] deleteIds);

    List<InsMessage> selectByIds(Long[] ids);

    int batchInsertInsMessage(@Param("list") List<InsMessage> insMessageList);

    List<InsSendMessage> selectNoSentMessage();

    void batchUpdateMessages(@Param("messageList")  List<InsMessage> insMessageList);
}
